import React from "react"
import {Routes,Route } from "react-router-dom"
import Home from "./home"
import Line from "./line"
import Login from "./login"
import Person from "./person"
import Product from "./product"




export default function Router(){
 
 
  return  <Routes>
             <Route index  element={<Home  />} /> 
             <Route path={"/login"} element={<Login  />} /> 
             <Route path={"/line"} element={<Line  />} /> 
             <Route path={"/person"}  element={<Person  />} /> 
             <Route path={"/product"}  element={<Product/>} />
          </Routes>
          
     
}
